package cn.dakaqi.activity.recruit.services;

import cn.dakaqi.entities.ActivityRecruit;
import cn.dakaqi.utils.exception.ServiceRuntimeException;
import org.springframework.data.domain.Page;

import java.util.List;

/**
 * Created by chunyang on 2016/4/18.
 */
public interface ActivityRecruitService
{
    void create(String param)throws ServiceRuntimeException;
    void save(ActivityRecruit activityRecruit)throws ServiceRuntimeException;
    void update(ActivityRecruit activityRecruit)throws ServiceRuntimeException;
    ActivityRecruit findOne(Long id)throws ServiceRuntimeException;
    ActivityRecruit findByActivity(Long activityId)throws ServiceRuntimeException;
    ActivityRecruit findByActivityCode(String activityCode)throws ServiceRuntimeException;
    List<ActivityRecruit> findByServiceField(String createTime,String serviceField)throws ServiceRuntimeException;
    Page<ActivityRecruit> findAll(String createTime,int pageNumber) throws ServiceRuntimeException;
    List<ActivityRecruit> findTitleLike(String trim)throws ServiceRuntimeException;
    List<ActivityRecruit> findByJobSkillSerivice(String tag)throws ServiceRuntimeException;
    void updateStatus()throws ServiceRuntimeException;

}
